<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page import= "java.util.*"%>
<%@ page import= "dto.DepositoDTO"%>
<html>
<head>
	<link rel="stylesheet" href="css/estilo.css" type="text/css">
	<title>Deposito</title>
</head>
<body>

<table cellspacing="3" cellpadding="3" border="1" width="500">
	<tr>
		<td colspan="4"><b>Deposito</b></td>
	</tr>
	<tr>
		<td><b>Id</b></td>
		<td><b>Descripcion</b></td>
		<td><b>Stocks</b></td>
	</tr>
<%
	DepositoDTO aux;
	int id; 	
	DepositoDTO deposito = (DepositoDTO)request.getAttribute("deposito");
		aux = deposito;
		id = aux.getId();
%>
	<tr>
		<td><%=id%></td>
		<td><%=aux.getDescripcion()%></td>
		<td><a href="Controlador?action=MostrarStocksDeposito&id=<%=id%>">Mostrar</a></td>				
	</tr>

</table>
</body>
</html>